package com.hyj.ecp.common.constant;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.hyj.ecp.common.dao.IjdbcDAO;
@Service
public class SysConfig {
	@Autowired
    private IjdbcDAO dao;
	
	
	
	public List<Map<String,Object>> querConfig(String type) {
		String sql = "  SELECT * FROM t_sys_config t WHERE t.TYPE= ?  ";
		return dao.queryForList(sql,new Object[]{type});
	}
}
